-
Home
-
Dynamic Front-End Heartbeat Control
-
1.2.99 (latest)
-
Code
-
Classes
- Dfehc_ServerLoadEstimator
Total Complexity |
46 |
Dependencies |
1 |
Dependents |
4 |
Total lines |
187 |
Lines of code |
155 |
Logical lines of code |
98 |
Comment lines |
0 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_server_load() |
A |
49 |
8 |
30 |
try_sys_getloadavg() |
S |
58 |
6 |
14 |
update_spike_score() |
S |
55 |
3 |
19 |
ensure_baseline() |
S |
57 |
3 |
16 |
acquire_lock() |
S |
66 |
4 |
7 |
run_loop() |
S |
61 |
3 |
12 |
maybe_calibrate_during_cron() |
S |
71 |
3 |
6 |
maybe_calibrate_if_idle() |
S |
71 |
3 |
6 |
maybe_calibrate() |
S |
60 |
2 |
12 |
release_lock() |
S |
69 |
2 |
7 |
get_baseline_value() |
S |
78 |
2 |
3 |
set_baseline_value() |
S |
69 |
2 |
7 |
delete_baseline_value() |
S |
70 |
2 |
7 |
calibrate_baseline() |
S |
79 |
1 |
3 |
get_baseline_transient_name() |
S |
79 |
1 |
3 |
get_hostname_key() |
S |
77 |
1 |
3 |